<#include "/common/common.ftl">
<form id="detailForm" method="post" dojoType="dijit.form.Form">
	<input type="hidden" name="parentId" value="${parentId!}"/>

	<div class="small-form-layout">
		<div class="cell">
			<div class="label">
				<label for="orgCode">机构编号<@splitor/></label>
			</div>
			<div class="content">
				<input name="organization.orgCode" dojoType="dijit.form.ValidationTextBox"
				       style="width: 120px" required="true"
				       invalidMessage="只能是英文字母或数字" regExp="^\w+$" id="orgCode"
				       value="${organization.orgCode!}"/>
			</div>
		</div>
		<div class="cell">
			<div class="label">
				<label>
					机构名称<@splitor/>
				</label>
			</div>
			<div class="content">
				<input name="organization.name" dojoType="dijit.form.ValidationTextBox"
				       type="text" class="middle" required="true" id="name"
				       value="${organization.name!}"/>
			</div>
		</div>
		<div class="cell-single-line">
			<div class="label">
				<label>
					描述<@splitor/>
				</label>
			</div>
			<div class="content">
				<textarea trim="true" name="organization.desription" maxLength="100" colspan="5" rows="3"
				          dojoType="dijit.form.SimpleTextarea" id="desription" style="width:350px;">
				</textarea>
			</div>
		</div>
	</div>
	<div class="clear"></div>
	<div class="button-bar">
		<div type="button" onClick="btnAddClick" dojoType="dijit.form.Button" id="btnSave">
			保存
		</div>
		<div type="reset" dojoType="dijit.form.Button" id="btnClear">
			清空
		</div>
		<div type="button" onclick="btnCloseClick" dojoType="dijit.form.Button" id="btnClose">
			关闭
		</div>
	</div>
</form>
